Masteriyo\Addons\SureCartIntegration\SureCartService B

Total Complexity 77
Dependencies 9
Dependents 1
Total lines 783
Lines of code 415
Logical lines of code 189
Comment lines 251
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
enroll_button_class()
A
48 8 37
change_add_to_cart_url()
S
47 6 40
masteriyo_route_check_integration_and_price()
S
52 6 25
add_course_price_action()
S
53 6 23
add_to_cart_btn_text()
S
53 5 25
masteriyo_check_integration_and_price()
S
56 5 19
add_course_attributes()
S
51 4 29
getItems()
S
53 4 24
render_surecart_sidebar_content()
S
59 3 16
render_surecart_sidebar_content_layout_1()
S
59 3 16
getItem()
S
60 3 14
change_template_for_surecart_courses()
S
62 3 11
localize_surecart_courses_scripts()
S
51 1 31
updateAccess()
S
64 3 10
add_surecart_courses_popup_modal()
S
65 2 11
register_rest_api_course_routes()
S
55 1 21
bootstrap()
S
56 1 17
getCachedProductsPrices()
S
69 2 7
getModel()
S
82 1 3
getLogo()
S
78 1 3
getLabel()
S
79 1 3
getItemLabel()
S
79 1 3
getItemHelp()
S
79 1 3
enabled()
S
80 1 3
getName()
S
82 1 3
getCachedProductPrices()
S
67 1 9
onPurchaseCreated()
S
79 1 3
onPurchaseInvoked()
S
80 1 3
onPurchaseRevoked()
S
79 1 3